package com.example.sss.model.domin;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 *
 * @author： pop
 * @date： 2020/7/13 21:47
 * @vertion： V1.0.1
 */
public class SharedFile {
    private Integer id;
    private Integer userId;
    private String sharedfileName;
    private String sharedfilePath;
    private Integer state;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer createPeople;
    /**
     * 当前查询页
     */
    private int curPage;
    /**
     * 每页显示数据
     */
    private int pageSize;
    private Integer fileId;

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSharedfileName() {
        return sharedfileName;
    }

    public void setSharedfileName(String sharedfileName) {
        this.sharedfileName = sharedfileName;
    }

    public String getSharedfilePath() {
        return sharedfilePath;
    }

    public void setSharedfilePath(String sharedfilePath) {
        this.sharedfilePath = sharedfilePath;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreatePeople() {
        return createPeople;
    }

    public void setCreatePeople(Integer createPeople) {
        this.createPeople = createPeople;
    }

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
